<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><s:text name="context.title"/></title><%@ include file="/common/meta.jsp"%>
<script type="text/javascript">
	$(document).ready(function(){
		$("#inputForm").validate({});
		});
</script>
</head>
<body>
<br/>
<p align="center"><s:actionmessage theme="mytheme" cssClass="actionMessage"/></p>

<form id="inputForm" action="group.action" method="post">
<s:token></s:token>
<input type="hidden" name="team.id" value="${team.id }"/>
<h1 class="title01"><img src="${ctx}/images/02_15.gif" width="45" height="42" class="fl"/><s:if test="team.id !=''">修改团队</s:if><s:else>添加团队</s:else> </h1>
<fieldset class="fs_ys">
		<legend><s:if test="team.id != ''">修改团队</s:if><s:else>添加团队</s:else> </legend>
<table class="table_ys_input">
	<tr>
		<th>团队名称</th>
		<td><input type="text" name="team.groupName" class="required" value="${team.groupName }"/>&nbsp;</td>
	</tr>
	<tr>
		<th>学院</th>
		<td>
			<select name="collegeId" class="required">
				<option value="">请选择</option>
				<s:iterator value="collegeList" var="v">
					<option value="${v.id }">${v.collegeName }</option>
				</s:iterator>
			</select>
		&nbsp;</td>
	</tr>
	<tr>
		<th title="负责的论文的哪个时期(立题,审题,答辩)">团队类型</th>
		<td><select name="team.type" class="required">
				<option value="">请选择</option>
				<option value="1"><s:property value="@com.suitsoft.ut.commons.Constants@CN_LITI"/></option>
				<option value="2"><s:property value="@com.suitsoft.ut.commons.Constants@CN_KAITI"/></option>
				<option value="4"><s:property value="@com.suitsoft.ut.commons.Constants@CN_MIDDLE"/></option>
				<option value="3"><s:property value="@com.suitsoft.ut.commons.Constants@CN_DABIAN"/></option>
			</select>
			<script type="text/javascript">
				document.all('team.type').value='${team.type}';
			</script>
		</td>
	</tr>
</table>
<p align="center"><input type="submit" value=" 提 交 " name="method:save" onclick="return confirm('确定提交?')"/>  <input type="reset" onclick="history.back();" value=" 取 消 " /></p>
</fieldset>
</form>
</body>


</html>